home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Compression / tarZan / Source / deCompObject.m < prev    next >
Text File  |  1992-07-27  |  536b  |  28 lines

  1. /* Generated by me! */
  2. // Created By James T. Romano July 22, 1992 
  3. // Member of the Dynamic Duo of NeXT Computers!
  4. //
  5. // 
  6. // Read it and Weep!
  7.  
  8. #import "deCompObject.h"
  9.  
  10. @implementation deComp
  11.  
  12. - deCompressFile:(const char *)file
  13. {
  14.     char actionMsg[1024];
  15.     
  16.     sprintf(actionMsg,"uncompress %s",file);
  17.     system(actionMsg);
  18.     sprintf(actionMsg,"File %s has been uncompressed",file);
  19.     NXRunAlertPanel("uncompress operation complete!",actionMsg,"OK",NULL,NULL);
  20.     [NXApp delayedFree:self];
  21.     return self;
  22. }
  23.  
  24. - free
  25. {
  26.     return [super free];
  27. }
  28. @end